You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > VectorInt Structure > VectorInt Methods > ThreshBottom Method > VectorInt.ThreshBottom Method ([In] int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
VectorInt.ThreshBottom Method ([In] int)

Threshold bottom operation.

Syntax
C#
Visual Basic
public TMtxVecInt ThreshBottom([In] int Value);

Perform threshold operation on all calling object values. The Value parameter is a lower bound for threshold operation. All values smaller than Value will be replaced with Value.

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TVecInt a; MtxVecInt.CreateIt(out a); try { a.SetIt(new int[] {2, 0, 3, 4}); a.ThreshBottom(1); // a = [2,1,3,4] } finally { MtxVecInt.FreeIt(ref a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!